# coding = utf-8
# Author: 柚一
# 登陆页面的定位

from appium.webdriver.common.appiumby import AppiumBy
# 手机号框
username = (AppiumBy.ID, 'com.tal.kaoyan:id/loginEmailEdittext')
# 密码框
pwd = (AppiumBy.ID, 'com.tal.kaoyan:id/loginPasswordEdittext')
# 点击同意
areeges = (AppiumBy.ID, 'com.tal.kaoyan:id/loginTreatyCheckboxPassword')
# 点击登陆
login_btn = (AppiumBy.ID, 'com.tal.kaoyan:id/loginLoginBtn')
# 断言跳过
skip = (AppiumBy.ID, 'com.tal.kaoyan:id/kylogin_perfect_tag_jump_button')
#登录错误的断言
error_skip = (AppiumBy.XPATH, '/hierarchy/android.widget.Toast')
